home *** CD-ROM | disk | FTP | other *** search
-
- UNDEL (Undelete) Steven Holzner
- Command PC Magazine Vol 4, No 7
- Copyright 1985 Ziff-Davis Publishing Company
- ______________________________________________________
-
- Purpose: Recovers files on double-sided floppy disks
- that have been accidentally deleted.
-
- Format: UNDEL [d:]filename[.ext]
-
- Remarks: Unless special measures are taken, DOS does
- not overwrite the contents of a file when it
- deletes the file. Rather, DOS simply changes
- the first letter of the filename to E5 in its
- directory table and unassigns the second (and
- subsequent) clusters for the file from its
- file allocation table. When no files have
- been subsequently stored to disk that would
- use the deallocated clusters, the deleted
- file can usually be recovered intact by
- UNDEL.COM.
-
- As an aid to recovery of ASCII files, the
- UNDEL command may be given as
-
- UNDEL/A [d:]filename[.ext]
-
- The /A parameter is designed to provide a
- display of each proposed cluster to be
- recovered before it is actually included in
- the undeleted file. With late versions of
- PC-DOS, however, the use of the /A parameter
- has been found to return the error message,
- "File Not Found Deleted". In such cases,
- entering UNDEL without the added parameter is
- normally sufficient to recover the complete
- file without loss.
-
- Notes:
-
- 1. UNDEL should not be used on 8-sector
- disks (such as the distribution copy
- of this disk), but only on 9-sector,
- double-sided floppies.
-
- 2. Requires the use of DOS 2.0 or later,
- but the command does not recognize
- pathnames.
-